<!Doctype html>
<html>
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="csrf-token" content="{{ csrf_token() }}">
        <title>@yield('title', 'SystemWeb')</title>
        <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
        <!--        图标库-->
        <link rel="stylesheet" href="{{ URL::asset('backend/AdminLTE/bootstrap/fonts/font-awesome.min.css')}}">
        <link rel="stylesheet" href="{{ URL::asset('backend/AdminLTE/bootstrap/css/bootstrap.min.css')}}">
        <link rel="stylesheet" href="{{URL::asset('backend/AdminLTE/dist/css/AdminLTE.min.css')}}">
        <link rel="stylesheet" href="{{URL::asset('backend/AdminLTE/dist/css/skins/_all-skins.min.css')}}">
        <!--        <link rel="stylesheet" href="{{URL::asset('backend/AdminLTE/plugins/iCheck/flat/blue.css')}}">-->
        <link rel="stylesheet" href="{{URL::asset('backend/AdminLTE/plugins/morris/morris.css')}}">
        <!--        <link rel="stylesheet" href="{{URL::asset('backend/AdminLTE/plugins/jvectormap/jquery-jvectormap-1.2.2.css')}}">-->
        <link rel="stylesheet" href="{{URL::asset('backend/AdminLTE/plugins/datepicker/datepicker3.css')}}">
        <!--        <link rel="stylesheet" href="{{URL::asset('backend/AdminLTE/plugins/daterangepicker/daterangepicker.css')}}">-->
        <link rel="stylesheet" href="{{URL::asset('backend/AdminLTE/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.min.css')}}">
        @yield('css')
        <script language="JavaScript" src="{{URL::asset('backend/AdminLTE/plugins/jQuery/jquery-2.2.3.min.js')}}"></script>
        <script language="JavaScript" src="{{ URL::asset('backend/layer/layer/layer.js') }}"></script>
        <script language="JavaScript" src="{{ URL::asset('backend/helpers/layerHelpers.js') }}"></script>
<!--        @include('pjax::pjax')-->
    </head>
    <body class="hold-transition skin-blue sidebar-mini">
        <div class="wrapper" >
            @include('backend.layouts._header')
            @include('backend.layouts._left')
            <div class="content-wrapper" style="min-height: calc(100vh - 100px);">
                <!--               js失效问题-->
                @if(request()->pjax() ==1)
                <script language="JavaScript" src="{{URL::asset('backend/AdminLTE/bootstrap/js/bootstrap.min.js')}}"></script>
                <script language="JavaScript" src="{{ URL::asset('backend/AdminLTE/dist/js/app.min.js') }}"></script>
                @endif
<!--                <section class="content-header">
                    <h1>
                        Advanced Form Elements
                        <small>Preview</small>
                    </h1>
                    <ol class="breadcrumb">
                        <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
                        <li><a href="#">Forms</a></li>
                        <li class="active">Advanced Elements</li>
                    </ol>
                </section>-->
                <section class="content">
                    <div class="box-body">
                        <div class="row">
                            @yield('content')
                        </div>
                    </div>
                </section>
            </div>
            @include('backend.layouts._footer')
            @yield('script')
        </div>
    </body>

</html>